package com.wenx.test;

public class StringDemo {
    public static void main(String[] args) {
        String a = "abcdfeogmf";
        String b = "ab";
        String c = "ac";
        System.out.println(a.startsWith(b));
        System.out.println(a.startsWith(c));
    }
}
